import 'dart:convert';

import 'package:meta/meta.dart';

///定义jobModel
class JobModel {
  JobModel(
      {this.job_title,
      this.department,
      this.collage,
      this.university,
      this.topic,
      this.audenice,
      this.contacts,
      this.expect_time});

  var job_title;
  var department;
  var collage;
  var university;
  var topic;
  var audenice;
  var contacts;
  var expect_time;

//  static List<JobModel> fromJson(String json) {
//    List<JobModel> listModel = new List<JobModel>();
//    List list = jsonDecode(json)['list'];
//    list.forEach((v) {
//      var model = JobModel.fromMap(v);
//      listModel.add(model);
//    });
//    return listModel;
//  }
//
//  static JobModel fromMap(Map map) {
//    return new JobModel(
//        name: map['name'],
//        university: map['university'],
//        phone: map['phone'],
//        location: map['location'],
//        date: map['date'],
//        description: map['description'],
//        qualifications: map['qualifications']);
//  }
}
